<script>
    $(document).ready(function(){
        $("#idata").datepicker({dateFormat: "dd/mm/yyyy"});
        $('.cancela').click(function(){
           $('#areaTroca').fadeOut(600);
        });
        
        $('#mostraSenha').mouseenter(function() {
            $('#isenha').attr('type','input');
        }).mouseleave(function() {
            $('#isenha').attr('type','password');
        });
        
    });
</script>
<?php echo form_open('membro/editandoSenha')?>
<h1>Editar Senha</h1><hr>
<table class="tabulacao">
    <tr>
        <td><?php echo form_label('Nova Senha:')?></td>
        <td><?php echo form_password('senha','','id=isenha autofocus')?></td>
    </tr>
    <tr><td><span id="mostraSenha">Mostrar Senha</span></td></tr>
    <tr>
        <td><?php echo form_submit('','Editar')?></td>
        <td><?php echo form_button('','Cancelar', 'class=cancela')?></td>
    </tr>
</table>
<?php echo form_close()?>